package com.htu.tax.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.htu.tax.entity.Company;
import com.baomidou.mybatisplus.extension.service.IService;
import com.htu.tax.payload.request.company.AddCompanyRequest;
import com.htu.tax.payload.request.company.GetCompanyRequest;
import com.htu.tax.payload.request.company.UpdateCompanyRequest;
import com.htu.tax.payload.request.company.UpdateCompanyStateRequest;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lizhiyuan
 * @since 2020-12-29
 */
public interface CompanyService extends IService<Company> {
    void addCompany(AddCompanyRequest request);

    IPage<Company> getCompany(GetCompanyRequest request);

    void updateCompany(UpdateCompanyRequest request);

    void updateCompanyState(UpdateCompanyStateRequest request);
}